import Router from "@koa/router";
import CategoryController from "../controllers/category.controller";

const categoryRouter = new Router({
  prefix: "/api/categories",
});

categoryRouter.get("/", CategoryController.listCategories);

export default categoryRouter;
